home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Documentation / develop / develop Issue 7 / develop 7 code / QuickTime / SimpleMovieOut / SimpleOutMovies.README < prev    next >
Encoding:
Text File  |  1991-10-15  |  2.5 KB  |  55 lines  |  [TEXT/MPS ]

  1. SimpleOutMovies
  2.  
  3. NOTES FOR BETA VERSION
  4.  
  5. The API changed very much from the Alpha release to the beta; all efforts were made
  6. to comment every piece of the code that was modified. It is recommended to have the
  7. docs available in the Beta CD to compare with the modified code and understand the 
  8. changes.
  9.  
  10. One common question is what happens to all alias related stuff when running under
  11. 6.0.7; QuickTime™ makes sure all the calls necessary to play back movies are there
  12. whether under system 7 or 6.0.7.
  13. ======================================================================================
  14.  
  15. SimpleOutMovies is a small sample that shows how to create a movie containing one video track and 
  16. one sound track if a sound file is available. The video track data comes from a
  17. series of PICT files that are read in sequence and added using Apple Video Compressor
  18. with Frame diferencing.
  19.  
  20. Files:
  21. SimpleOutMovies.r
  22. SimpleOutMovies.c
  23. SimpleOutSound.c
  24. SimpleOutFileStuff.c
  25.  
  26. -SimpleOutMovies.r: Defines all the reources used by the program, no big deal.
  27.  
  28. SimpleOutMovies.c: The main part of the program shows how to create a movie from
  29. scratch and how to add a video track to it.
  30.  
  31. -SimpleOutSound.c: If the user has a file containing a sound then the routines listed
  32. in this file are called, they show how to add a sound track to an existing movie. The
  33. code shows two methods of adding samples directly (the data is copied into the movie
  34. file) and by reference (the data remains in the original file.)
  35.  
  36. Some heavy assumptions are made regarding the nature of the sound data, nicer (and
  37.  better written) apps should not hard code values as shown.
  38.  
  39.     #define __UseExternalFile__ if you want to set the external code working.
  40.  
  41. -SimpleOutFileStuff.c: File I/O routines, for the video track the user selects a folder
  42. where all the pictures are, the code to select a folder is interesting by itself (I
  43. think.) For the sound file, it selects and opens either the data or resource fork of
  44. the selected file depending on the method used to add the samples.
  45.  
  46. General Notes: The code was commented as completely as possible, the error handling is
  47. primitive at best but the objective was to make things as simple as possible in order
  48. to highlight the QuickTime areas.
  49.  
  50. NOTES FOR BETA VERSION
  51.  
  52. The API changed very much from the Alpha release to the beta; all efforts were made
  53. to comment every piece of the code that was modified. It is recommended to have the
  54. docs available in the Beta CD to compare with the modified code and understand the 
  55. changes.